home *** CD-ROM | disk | FTP | other *** search
/ Amiga Game-Power / Amiga Game-Power.iso / pd mix ii / access / hddriver / driver / nocache.c < prev    next >
C/C++ Source or Header  |  1994-05-20  |  699b  |  60 lines

  1.  
  2. /*
  3.  * Copyright 1987 Alan Kent
  4.  *
  5.  * Permission is granted to redistribute this code as long
  6.  * as this message is retained in the code and the code is
  7.  * not sold without written permission from the author.
  8.  *
  9.  * UUCP: {seismo,hplabs,mcvax,ukc,nttlab}!munnari!goanna.oz!ajk
  10.  * ACSnet: ajk@goanna.oz
  11.  * ARPA: munnari!goanna.oz!ajk@SEISMO.ARPA
  12.  */
  13.  
  14.  
  15. #include "hd.h"
  16.  
  17.  
  18. static UBYTE cache[ HD_SECTOR ];
  19.  
  20. void
  21. clear_all ()
  22. {
  23. }
  24.  
  25.  
  26. void
  27. flush_all ()
  28. {
  29. }
  30.  
  31.  
  32. int
  33. init_cache ()
  34. {
  35. }
  36.  
  37.  
  38. void
  39. free_cache ()
  40. {
  41. }
  42.  
  43.  
  44. UBYTE *
  45. read_cache ( posn )
  46. struct posn *posn;
  47. {
  48.     read_sector ( posn , cache );
  49.     return ( cache );
  50. }
  51.  
  52.  
  53. void
  54. write_cache ( posn , buf )
  55. struct posn *posn;
  56. UBYTE *buf;
  57. {
  58.     write_sector ( posn , buf );
  59. }
  60.